package com.example.demo.test;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

//标注这一个spring启动类，没有配置sql时，需要加(exclude= {DataSourceAutoConfiguration.class})
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
public class demo {
    public static void main(String[] args) {
        //spring应用启动起来
        SpringApplication.run(demo.class, args);
    }
}